﻿using ShanNiang.Hosting.Common;
using ShanNiang.Hosting.Enumerate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Service.PackingModels.Requests
{
    /// <summary>
    /// 批量拆箱
    /// </summary>
    public class UnpackBoxesRequest : RequestBase
    {
        public UnpackBoxesRequest(Guid? enterpriseId, params string[] boxCodes)
        {
            BoxCodes = new List<string>(boxCodes);
        }
        /// <summary>
        /// 企业Id
        /// </summary>
        public Guid? EnterpriseId { get; set; }
        /// <summary>
        /// 箱码组合
        /// </summary>
        public List<string> BoxCodes { get; set; }

        public override ApiServer ApiServer => ApiServer.XkmServer;

        public override HttpMethod Method => HttpMethod.Put;

        public override bool NeedToken => true;

        protected override string RequestPath => "/api/Packing/UnpackBoxes";
    }
}
